package com.zzjson;

import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * <p>****************************************************************************</p>
 * <p><b>Copyright © 2010-2019 shuncom team All Rights Reserved<b></p>
 * <ul style="margin:15px;">
 * <li>Description : com.zzjson</li>
 * <li>Version     : 1.0.0</li>
 * <li>Creation    : 2019年05月20日</li>
 * <li>@author     : zzy0_0</li>
 * </ul>
 * <p>****************************************************************************</p>
 */
public class Main {
	public static void main(String[] args) {
		ClassPathXmlApplicationContext classPathXmlApplicationContext = new ClassPathXmlApplicationContext("test.xml");
		Object person = classPathXmlApplicationContext.getBean("dd1");
		System.out.println(person);
		Object personFactory = classPathXmlApplicationContext.getBean("&dd1");
		System.out.println(personFactory);
	}
}